<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<title><ui:insert name="title">Piollin</ui:insert>
</title>
<link type="text/css" href="#{facesContext.externalContext.requestContextPath}/style/style.css" 
	rel="stylesheet" />
</head>

<body>
	<div id="inter">
		<ui:insert name="inter">
			<h:form>
				<h:commandLink action="#{loginBean.mudarIdioma}">
					<h:graphicImage value="/images/pt_br.png" style="border:none" />
					<f:setPropertyActionListener value="pt_BR" target="#{loginBean.idioma}" />
				</h:commandLink>
				<h:outputText value=" "/>
				<h:commandLink action="#{loginBean.mudarIdioma}">
					<h:graphicImage value="/images/en_us.jpg" style="border:none" />
					<f:setPropertyActionListener value="en" target="#{loginBean.idioma}" />
				</h:commandLink>
			</h:form>
		</ui:insert>
	</div>
	<div id="topo">
		<ui:insert name="topo">
		</ui:insert>
	</div>

	<div id="titulo">
		<ui:insert name="titulo">
			<h1>Titulo</h1>
		</ui:insert>
	</div>

	<div id="tabs" style="margin-left: 10%; margin-right: 10%;">
		<ui:insert name="tabs">
    	   Espaço para as Tabs
  		</ui:insert>
	</div>

	<div id="msgsaida">
		<ui:insert name="mensagem">
    		&nbsp;#{requestScope.msg}&nbsp;
  		</ui:insert>
	</div>

</body>

</html>
